package com.ambulance.project.manager.domain;

import com.ambulance.framework.aspectj.lang.annotation.Excel;
import com.ambulance.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 调度车载设备记录信息对象 biz_dispatchDevice
 *
 * @author zr
 * @date 2020-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="调度车载设备记录信息对象", description="调度车载设备记录信息}")
public class BizDispatchdevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;



     // 调度设备数据记录标识
    @ApiModelProperty(value = "调度设备数据记录标识")
    private Long deviceRecordID;


     // 设备标识
    @Excel(name = "设备标识")
    @ApiModelProperty(value = "设备标识")
    private Long deviceID;


     // 调度标识
    @Excel(name = "调度标识")
    @ApiModelProperty(value = "调度标识")
    private Long dispatchID;

    // 调度病历标识
    @TableField(exist = false)
    @Excel(name = "调度病历标识")
    @ApiModelProperty(value = "调度病历标识")
    private Long dispatchCaseID;

     // 数据开始时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "数据开始时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "数据开始时间")
    private LocalDateTime startTime;


     // 数据结束时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "数据结束时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "数据结束时间")
    private LocalDateTime endTimes;

    // 调度标识
    @ApiModelProperty(value = "类型")
    private Long type;

    private String interval;


}
